package com.etc.service;

import java.util.List;

import com.etc.entity.LayUiData;
import com.etc.entity.Question;

public interface QuestionService {

	public Question getQuestionById(Integer qid);

	public boolean addQuestion(Question question);

	public boolean updateQuestion(Question question);

	public boolean deleteQuestion(Integer qid);

	public List<Question> getQuestions();

	public LayUiData<Question> queryQuestions(Integer page, Integer limit, String strlike);

}
